package com.schoolMall.dto;

import com.schoolMall.domain.ProductImg;
import com.schoolMall.enums.ProductImgStateEnum;

import java.util.List;

/**
 * @author:zyh
 * @Time:2021-09-01-10:07
 * @email:1269231889@qq.com
 */
public class ProductImgDto {
    private ProductImgStateEnum productImgStateEnum;
    private ProductImg productImg;
    private List<ProductImg> productImgList;

    public ProductImgDto(ProductImgStateEnum productImgStateEnum) {
        this.productImgStateEnum = productImgStateEnum;
    }

    public ProductImgDto(ProductImgStateEnum productImgStateEnum, ProductImg productImg) {
        this.productImgStateEnum = productImgStateEnum;
        this.productImg = productImg;
    }

    public ProductImgDto(ProductImgStateEnum productImgStateEnum, List<ProductImg> productImgList) {
        this.productImgStateEnum = productImgStateEnum;
        this.productImgList = productImgList;
    }

    public ProductImgStateEnum getProductImgStateEnum() {
        return productImgStateEnum;
    }

    public void setProductImgStateEnum(ProductImgStateEnum productImgStateEnum) {
        this.productImgStateEnum = productImgStateEnum;
    }

    public ProductImg getProductImg() {
        return productImg;
    }

    public void setProductImg(ProductImg productImg) {
        this.productImg = productImg;
    }

    public List<ProductImg> getProductImgList() {
        return productImgList;
    }

    public void setProductImgList(List<ProductImg> productImgList) {
        this.productImgList = productImgList;
    }
}
